package com.example.prom.dangwen.y2022.controller;

import com.example.prom.annotation.ServiceLog;
import com.example.prom.dangwen.y2022.service.TestService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Description
 *
 * @author DangWen
 */
@ServiceLog
@RestController
@RequestMapping("dw/y2022/test2")
public class TestController2 {
    @Resource
    private TestService testService;

    @RequestMapping("test")
    public String test(String param){
        return testService.test(param);
    }
}
